#!/usr/bin/evn python
# coding=utf-8
from infirmary_admin_src.infirmary_smart_admin.infirmary_models.admin_dbhelper import session_scope


class Businesses:

    @staticmethod
    def add_businesses_info(**kwargs):
        with session_scope():
            pass

    @staticmethod
    def del_businesses_info(id):
        with session_scope():
            pass

    @staticmethod
    def add_businesses_exts_info(**kwargs):
        with session_scope():
            pass

    @staticmethod
    def add_station_info(**kwargs):
        with session_scope():
            pass

    @staticmethod
    def update_station_info(id, **kwargs):
        with session_scope():
            pass

    @staticmethod
    def get_station_info_by_si_name(si_name):
        with session_scope():
            pass

    @staticmethod
    def del_station_info_id(appid, id):
        pass
        with session_scope():
            pass

    @staticmethod
    def update_businesses_info(id, **kwargs):
        with session_scope():
            pass

    @staticmethod
    def update_businesses_doctor_user_info(id, **kwargs):
        with session_scope():
            pass

    @staticmethod
    def add_businesses_doctor_user_info(**kwargs):
        with session_scope():
            pass

    @staticmethod
    def del_businesses_doctor_user_info(id):
        with session_scope():
            pass

    @staticmethod
    def del_businesses_doctor_user_scheduling_info_byid(appid, id):
        with session_scope():
            pass

    @staticmethod
    def get_businesses_doctor_user_scheduling_batch_info_byids(appid, dc_number, ids):
        with session_scope():
            #  stock_ismsl_s_make_key = f"ismsl_s_make:{appid}：{si_number}:{dc_number}:{re_date}:{re_date} {tatmaps}:00"
            pass

    @staticmethod
    def del_businesses_doctor_user_scheduling_batch_info_byid(appid, dc_number, ids):
        with session_scope():
            pass

    @staticmethod
    def check_businesses_doctor_user_scheduling_info(appid, dc_number, si_number, scheduling_dnotime):
        with session_scope():
            pass

    @staticmethod
    def add_businesses_doctor_user_scheduling_info(**kwargs):
        with session_scope():
            pass

    @staticmethod
    def update_businesses_exts_info(id, **kwargs):
        with session_scope():
            pass

    @staticmethod
    def del_businesses_exts_info_batch(ids):
        pass
        with session_scope():
            pass

    @staticmethod
    def del_businesses_exts_info_id(appid, id):
        pass
        with session_scope():
            pass

    @staticmethod
    def update_doctor_station_rule_info(rulesid, **kwargs):
        with session_scope():
            pass

    @staticmethod
    def update_doctor_station_rule_info_and_doctorstation(appid, si_number, dc_number, **kwargs):
        with session_scope():
            pass

    @staticmethod
    def addnewuser_doctor_station_rule_info(**kwargs):
        with session_scope():
            pass

    @staticmethod
    def update_doctor_station_rule_info_usernewrulesid(rulesid, appid, si_number, dc_number):
        #  appid = TextField(constraints=[SQL("DEFAULT ''::text")], index=True, verbose_name="商户ID")
        #     si_number = TextField(constraints=[SQL("DEFAULT ''::text")], verbose_name="医生医院驻点编号")
        #     dc_number = TextField(constraints=[SQL("DEFAULT ''::text")], verbose_name="医生编号")
        with session_scope():
            pass

    @staticmethod
    def get_doctor_station_rule_info(appid, si_number, dc_number):
        pass
        with session_scope():
            pass

    @classmethod
    def get_businesses_exts_list(cls, appid, mch_id=None, pageNo=1, pageSize=10, column=None,
                                 order=None, is_del_select_key=[]):
        with session_scope():
            pass

    @classmethod
    def get_businesses_list(cls, appid=None, tel=None, name=None, status=None, pageNo=1, pageSize=10,
                            is_del_select_key=[], del_flag=0):
        with session_scope():
            pass

    @classmethod
    def get_businesses_list_value_list(cls, del_flag=0):
        with session_scope():
            pass

    @classmethod
    def get_businesses_list_value_list_limts(cls, appid=None, del_flag=0):
        with session_scope():
            pass

    @classmethod
    def get_businesses_doctorstationname_list_value_list(cls, appid):
        # 获取指定某个医馆驻点医馆的列表
        with session_scope():
            pass

    @classmethod
    def get_station_list(cls, appid=None, si_name=None, status=None, pageNo=1, pageSize=10, column=None,
                         order=None, is_del_select_key=[], del_flag=0):
        pass

    @classmethod
    def get_businesses_doctor_list(cls, appid=None, tel=None, name=None, status=None, pageNo=1, pageSize=10,
                                   is_del_select_key=[], del_flag=0):
        with session_scope():
            pass

    @classmethod
    def get_businesses_doctor_scheduling_query_list(cls, appid=None, si_name=None, stime=None, etime=None,
                                                    ampm=None,
                                                    si_number=None,
                                                    dc_number=None,
                                                    weekday=None,
                                                    pageNo=1,
                                                    pageSize=10,
                                                    is_del_select_key=[],
                                                    del_flag=0):
        with session_scope():
            pass

    @classmethod
    def get_businesses_doctor_scheduling_order_query_list(cls, appid=None, si_name=None, stime=None, etime=None,
                                                          ampm=None,
                                                          si_number=None,
                                                          dc_number=None,
                                                          statue=-1,
                                                          visit_user_name=None,
                                                          visit_user_phone=None,
                                                          weekday=None,
                                                          pageNo=1,
                                                          pageSize=10,
                                                          is_del_select_key=[],
                                                          del_flag=0):
        with session_scope():
            pass

    @classmethod
    def get_businesses_doctor_scheduling_order_query_list_download(cls, appid=None, si_name=None, stime=None,
                                                                   etime=None,
                                                                   ampm=None,
                                                                   si_number=None,
                                                                   dc_number=None,
                                                                   statue=-1,
                                                                   visit_user_name=None,
                                                                   visit_user_phone=None,
                                                                   weekday=None,
                                                                   is_del_select_key=[],
                                                                   del_flag=0):
        with session_scope():
            pass